const obj = {};
const proxy = new Proxy(obj, {
  get(target, prop, receiver) {
    console.log(`getting ${prop}, ${receiver === proxy}`);
    return Reflect.get(target, prop, receiver);
  },
  set(target, prop, value, receiver) {
    console.log(`setting ${prop}!`);
    return Reflect.set(target, prop, value, receiver);
  },
});
console.log(proxy.a);
